var count;
count = 0;

function drawTable() {
  count += 1;
  var alfabet = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J"]
  document.write('<table class="gameGrid">')
  document.write("<tr><th></th>");
  for (k in alfabet) {
    document.write("<th>" + alfabet[k] + "</th>");
  }
  document.write("</tr>");
	  for (j = 1; j < 11; j++) {
	    document.write("<tr><th>" + j + "</th>");
	    for (i = 0; i < 10; i++) {
	      document.write("<td id='" + count.toString() + j.toString() + i.toString() + "'></td>");
	    }
	    document.write("</tr>");
	  }
	  document.write("</table>")

}

$(document).ready(function () {
  
});